package com.ruoyi.system.domain.api;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 守护配置对象 b_hold_config
 * 
 * @author ruoyi
 * @date 2022-04-21
 */
public class BHoldConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 守护者星级 */
    @Excel(name = "守护者星级")
    private Long holdLevel;

    /** 守护者名称 */
    @Excel(name = "守护者名称")
    private String holdName;

    /** 团队人数 */
    @Excel(name = "团队人数")
    private Long teamTotal;

    /** 直推人数 */
    @Excel(name = "直推人数")
    private Long directTotal;

    /** 达标等级量格式[{"levelType",1,"numer":3},{"levelType",2,"numer":5}] 代表太阳系需&gt;=3 人天狼星&gt;=5 */
    @Excel(name = "达标等级量格式[{\"levelType\",1,\"numer\":3},{\"levelType\",2,\"numer\":5}] 代表太阳系需&gt;=3 人天狼星&gt;=5")
    private String levelDetail;

    /** 达标业绩 */
    @Excel(name = "达标业绩")
    private BigDecimal standardAmount;

    /** 达标奖励 */
    @Excel(name = "达标奖励")
    private BigDecimal reward;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHoldLevel(Long holdLevel) 
    {
        this.holdLevel = holdLevel;
    }

    public Long getHoldLevel() 
    {
        return holdLevel;
    }
    public void setHoldName(String holdName) 
    {
        this.holdName = holdName;
    }

    public String getHoldName() 
    {
        return holdName;
    }
    public void setTeamTotal(Long teamTotal) 
    {
        this.teamTotal = teamTotal;
    }

    public Long getTeamTotal() 
    {
        return teamTotal;
    }
    public void setDirectTotal(Long directTotal) 
    {
        this.directTotal = directTotal;
    }

    public Long getDirectTotal() 
    {
        return directTotal;
    }
    public void setLevelDetail(String levelDetail) 
    {
        this.levelDetail = levelDetail;
    }

    public String getLevelDetail() 
    {
        return levelDetail;
    }
    public void setStandardAmount(BigDecimal standardAmount) 
    {
        this.standardAmount = standardAmount;
    }

    public BigDecimal getStandardAmount() 
    {
        return standardAmount;
    }
    public void setReward(BigDecimal reward) 
    {
        this.reward = reward;
    }

    public BigDecimal getReward() 
    {
        return reward;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("holdLevel", getHoldLevel())
            .append("holdName", getHoldName())
            .append("teamTotal", getTeamTotal())
            .append("directTotal", getDirectTotal())
            .append("levelDetail", getLevelDetail())
            .append("standardAmount", getStandardAmount())
            .append("reward", getReward())
            .append("createTime", getCreateTime())
            .toString();
    }
}
